<%--
  Created by IntelliJ IDEA.
  User: Kissmybaby
  Date: 2019/10/8
  Time: 11:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<%--%>
    <%--String path = request.getContextPath();--%>
    <%--String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";--%>

<%--%>--%>

<html>

<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <%--<base href="<%=basePath%>">--%>
    <base href="${pageContext.request.contextPath}/">
    <link rel="stylesheet" href="bootstrap-3.3.7/css/bootstrap.min.css" />
    <script type="text/javascript" src="bootstrap-3.3.7/js/bootstrap.min.js"></script>
</head>

<body>
<!--/*表单样式:主要是input的样式*/-->
<div style="height: 100px;" class="bg-primary"></div>
<div style="margin: auto;">
    <form style="width: 400px; margin: auto;margin-top: 50px;" action="user/login.do" method="post">
        <div class="form-group">
            <label for="userName">账号:</label>
            <div class="input-group">
                <label class=" input-group-addon">
                    <span class="glyphicon glyphicon-user"></span>
                </label>
                <input type="text" class="form-control" id="userName" name="userName" value="" placeholder="请输入您的账号">
            </div>
        </div>
        <div class="form-group">
            <label for="userPwd">密码:</label>
            <div class="input-group">
                <label class=" input-group-addon">
                    <span class="glyphicon glyphicon-lock"></span>
                </label>
                <input type="password" class="form-control" name="userPwd" id="userPwd" placeholder="请输入您的密码">
            </div>
        </div>
        <div class="checkbox">
            <label>
                <input id="cb" type="checkbox" name="rememberPwd" value="1">记住密码
            </label>
        </div>
        <div class="form-group">
            <button type="submit" class="btn btn-default form-control">登录</button>
        </div>
        <div class="form-group">
            <label></label>
            <label class="form-control" style="margin: auto;background: deepskyblue;text-align: center;" >
                <a href="regist.jsp"  style="color: white;">注册</a>
            </label>
        </div>
    </form>
</div>
</body>

</html>

